import request from '@/util/request'

export function listServiceLink(data) {
  return request({
    url: '/iot/service/link/list',
    method: 'post',
    data
  })
}

export function insertServiceLink(data) {
  return request({
    url: '/iot/service/link/insert',
    method: 'post',
    data
  })
}

export function updateServiceLink(data) {
  return request({
    url: '/iot/service/link/update',
    method: 'post',
    data
  })
}

export function deleteServiceLink(data) {
  return request({
    url: '/iot/service/link/delete',
    method: 'post',
    data
  })
}

